$(function () {
    jQuery.ajaxSetup({
        statusCode: {
            401: function () {
                top.location.reload();

            }
        }
    });
});
